// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false;

import store from "./store.js";

/* eslint-disable no-new */
new Vue({
  el: '#app',
  //把store对象挂载到根组件上，每个组件都可以通过this.$store访问数据仓库。
  store,
  router,
  template: '<App/>',
  components: { App }
})


